<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
	xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Word Edit</title>
<meta th:include="/admin/head :: header"></meta>
</head>

<style>
body {
	background: #ededed;
}
</style>
<body>
	<div class="header">
		<h1 class="page-header">
			单词编辑 <small></small>
		</h1>
		<ol class="breadcrumb">
			<li><a href="/admin/word/word-list">主页</a></li>
			<li><a href="/admin/word/word-list">单词管理</a></li>
			<li class="active">单词编辑</li>
		</ol>
	</div>
	<div id="page-inner">
		<div class="row">
			<div class="col-md-12">
				<!-- Advanced Tables -->
				<div class="panel panel-default">
					<div class="panel-heading">编辑</div>
					<div class="panel-body">
						<form class="form-horizontal" role="form" action="/admin/word/update-word-edit">
							<div class="form-group">
								<label for="wordId" class="col-sm-2 control-label">单词标志:</label>
								<div class="col-sm-6">
									<input type="text" class="form-control" id="wordId" th:value="${word.wordId}" readonly="readonly"
										name="wordId" />
								</div>
							</div>
							<div class="form-group">
								<label for="en" class="col-sm-2 control-label">英文:</label>
								<div class="col-sm-6"> 
									<textarea class="form-control" id="en" rows="3" name="en" th:text="${word.en}"></textarea>
								</div>
							</div>
							<div class="form-group">
								<label for="wordId" class="col-sm-2 control-label">简体中文:</label>
								<div class="col-sm-6">
									<textarea class="form-control" id="zh_rCN" rows="3" th:text="${word.zh_rCN}"
										name="zh_rCN"></textarea>
								</div>
							</div>
							<div class="form-group">
								<label for="wordId" class="col-sm-2 control-label">繁体中文:</label>
								<div class="col-sm-6">
									<textarea class="form-control" id="zh" rows="3" name="zh" th:text="${word.zh}"></textarea>
								</div>
							</div>
							<div class="form-group">
								<label for="wordId" class="col-sm-2 control-label">法语:</label>
								<div class="col-sm-6">
									<textarea class="form-control" id="fr" rows="3" name="fr" th:text="${word.fr}"></textarea>
								</div>
							</div>

							<div class="form-group">
								<div class="col-sm-4">
								</div>
									
								<div class="col-sm-6">
									<a type="button" class="btn btn-default" href="/admin/word/update-word-list">返回</a>&nbsp;&nbsp;
									<button type="submit" class="btn btn-success">提交</button>
								</div>
							</div>
						</form>

					</div>
				</div>
			</div>
		</div>
	</div>
</body>
</html>